"use strict";
const way = require("./utils/way");
const HomeCtl = require("./controller/home");

//查询会员
exports.findMember = async (context) => {
  return await way.execute(HomeCtl, "findMember", context);
};

//查询基础配置
exports.findBaseActConf = async (context) => {
  return await way.execute(HomeCtl, "findBaseActConf", context);
};

//查询店铺
exports.findShopId = async (context) => {
  return await way.execute(HomeCtl, "findShopId", context);
};

//查询店铺
exports.findShopOne = async (context) => {
  return await way.execute(HomeCtl, "findShopOne", context);
};

//白名单
exports.findIsWhite = async (context) => {
  return await way.execute(HomeCtl, "findIsWhite", context);
};

//添加白名单
exports.addWhite = async (context) => {
  return await way.execute(HomeCtl, "addWhite", context);
};

//查询配置
exports.findRebase = async (context) => {
  return await way.execute(HomeCtl, "findRebase", context);
};

//查询跳转
exports.findJump = async (context) => {
  return await way.execute(HomeCtl, "findJump", context);
};

//查询sessionKey
exports.querySessionId = async (context) => {
  return await way.execute(HomeCtl, "querySessionId", context);
};
